package com.admin.education.repositories;

import com.admin.education.config.DMLPOJOAnnotation;
import com.admin.education.models.User;
import org.springframework.stereotype.Repository;

import javax.transaction.Transactional;

@Repository
@Transactional
public class UserRepository extends AbstractRepository<User> {
    @Override
    @DMLPOJOAnnotation(action = "Create")
    public  void persist(Object entity) {
        super.persist(entity);
    }
}
